package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.Destination;
import cn.wolfcode.luowowo.article.domain.Region;
import cn.wolfcode.luowowo.common.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRegionService {

    PageInfo query(QueryObject queryObject);

    void saveOrUpdate(Region region);

    void changeHotState(Boolean hot, Long id);

    List<Destination> getDestByRegionId(Long rid);

    void deleteById(Long id);

    List<Region> queryHotRegions();

}
